// 获取文章分类API接口
import request from '@/utils/request.js'
export const getCateListAPI = () => request.get('/my/cate/list')
// 添加分类的API
export const addCateAPI = (obj) => request.post('/my/cate/add', obj)

// 更新文章分类的API接口
export const updateCateAPI = (obj) => request.put('/my/cate/info', obj)

// 删除文章接口
export const deleteCateAPI = (id) => request.delete('/my/cate/del', { params: { id } })
// 添加文章接口
export const bookCateAPI = (obj) => request.post('/my/article/add', obj)
